package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 常量表
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Constants对象", description="常量表")
public class Constants implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "表名如果不涉及表就是空")
    @TableField("tableName")
    private String tableName;

    @ApiModelProperty(value = "表字段名称")
    @TableField("fieldKey")
    private String fieldKey;

    @ApiModelProperty(value = "字段值")
    @TableField("fieldValue")
    private String fieldValue;

    @ApiModelProperty(value = "展示值")
    @TableField("showValue")
    private String showValue;

    @ApiModelProperty(value = "字段描述")
    private String describe;

    @ApiModelProperty(value = "是否有效1是-1不是")
    @TableField("isEffective")
    private Integer isEffective;


}
